package com.zhehekeji.opsys.api.resp;

import java.io.Serializable;
import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;

import com.zhehekeji.opsys.api.common.util.SuperResp;

/**
 * @ClassName GetSigninProductListResp
 * @Description TODO
 * @author chenweiliu chenwei.liu@163.com
 * @date 2017-4-1   上午11:27:09
 */
@XmlRootElement
public class GetSigninProductListResp extends SuperResp {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1335416452498190949L;
	private Integer recordSize;
	List<SigninProductInfo> signinProductInfos;
	
	public Integer getRecordSize() {
		return recordSize;
	}

	public void setRecordSize(Integer recordSize) {
		this.recordSize = recordSize;
	}

	public List<SigninProductInfo> getSigninProductInfos() {
		return signinProductInfos;
	}

	public void setSigninProductInfos(List<SigninProductInfo> signinProductInfos) {
		this.signinProductInfos = signinProductInfos;
	}

	@Override
	public String toString() {
		return "GetSigninProductListResp [recordSize=" + recordSize
				+ ", signinProductInfos=" + signinProductInfos
				+ ", getResultCode()=" + getResultCode() + ", getResultDesc()="
				+ getResultDesc() + "]";
	}

	public static class SigninProductInfo implements Serializable{
		/**
		 * 
		 */
		private static final long serialVersionUID = -4831115441405916633L;
		private String productCode;
		private String productName;
		private Integer orderGoldNum;
		private Integer signinGoldNum;
		private Integer sequence;
		public String getProductCode() {
			return productCode;
		}
		public void setProductCode(String productCode) {
			this.productCode = productCode;
		}
		public String getProductName() {
			return productName;
		}
		public void setProductName(String productName) {
			this.productName = productName;
		}
		public Integer getOrderGoldNum() {
			return orderGoldNum;
		}
		public void setOrderGoldNum(Integer orderGoldNum) {
			this.orderGoldNum = orderGoldNum;
		}
		public Integer getSigninGoldNum() {
			return signinGoldNum;
		}
		public void setSigninGoldNum(Integer signinGoldNum) {
			this.signinGoldNum = signinGoldNum;
		}
		public Integer getSequence() {
			return sequence;
		}
		public void setSequence(Integer sequence) {
			this.sequence = sequence;
		}
		@Override
		public String toString() {
			return "SigninProductInfo [productCode=" + productCode
					+ ", productName=" + productName + "]";
		}
	}
}

